package com.greet.mapper;

import com.greet.entity.OrderDetail;
import com.greet.vo.OrderDetailTopItem;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface OrderDetailMapper {
    void insertBatch(List<OrderDetail> orderDetailList);

    List<OrderDetail> selecListByOrdersId(Long id);

    List<OrderDetailTopItem> countSalesDish(Integer top, List<Long> orderIds);

    List<OrderDetailTopItem> countSalesSetmeal(int top, List<Long> orderIds);
}
